package com.smxy.mall.dao;

import com.smxy.mall.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface RoleDao extends JpaRepository<Role,Object>, JpaSpecificationExecutor<Role> {
    Role findById(Integer id);
}
